package cn.gzsf.csmall.product.web;

import io.swagger.models.auth.In;

public enum ServiceCode {

    OK(20000),//new ServiceCode(1)-->getValue()-->1
    ERR_BAD_REQUEST(40000),//new ServiceCode(2)-->getValue-->2
    ERR_NOT_FOUND(40400),
    ERR_CONFLICT(40900),
    ERR_UNKNOWN(99999);

    private Integer value;

    private ServiceCode(){}

    private ServiceCode(int value){
        this.value=value;
    }

    public Integer getValue() {
        return value;
    }
}
